package com.stars.home.vmodel

import android.app.Application
import com.stars.home.activity.ArticleDetailActivity
import com.trailer.base.base.BRepository
import com.trailer.base.base.BViewModel
import com.trailer.base.utils.B
import com.trailer.base.utils.UiSwitch

class AboutVModel(application: Application) : BViewModel<BRepository>(application) {


    fun toDetails(type:Int?){
        UiSwitch.bundle(repository().context, ArticleDetailActivity::class.java,
            B().putString("type",type.toString()).ok())
    }
}
